<%@ include file="/WEB-INF/pages/taglibs.jsp" %>
<!-- 定义模块变量， 为识别第一级菜单是否高亮使用 -->
<c:set var="module" value="report" scope="request" />
<!DOCTYPE html>
<html>
<head>
    <title><sitemesh:write property='title'/></title>
    <sitemesh:write property="meta" />
    <sitemesh:write property='head'/>
</head>
<body>
<div id="content-container">
    <div class="page-container page-sidebar-md">
        <div class="page-sidebar">
            <ul class="page-navigation">
                <li class="${unit == 'group' ? 'active' : ''}">
                	<a href="${base}/report/index" >
                        <i class="fa fa-sitemap fa-2x"></i>
                        <footer><fmt:message key="report.menu.groups"  bundle="${i18n_report}"/></footer>
                    </a>
                </li>
                <!-- 根据权限来判断是否显示配置菜单 -->
                <li class="${unit == 'config' ? 'active' : ''}">
                    <a href="${base}/report/reports">
                        <i class="fa fa-cog fa-2x"></i>
                        <footer><fmt:message key="report.menu.reports" bundle="${i18n_report}"/></footer>
                    </a>
                </li>
                <li class="${unit == 'cache' ? 'active' : ''}">
                    <a href="${base}/report/cache">
                        <i class="fa fa-search fa-2x"></i>
                        <footer><fmt:message key="report.menu.cache" bundle="${i18n_report}"/></footer>
                    </a>
                </li>
            </ul>
        </div>
        <div class="page-content">
            <div class="container">
                <sitemesh:write property="div.content-container" />
            </div>
        </div>
    </div>
</div>
<div id="script-container">
    <sitemesh:write property="div.script-container"/>
</div>
</body>
</html>